
import { getMerexport,getcommoexport} from '@/api/export'
export default {
  namespaced: true, // 封闭
  state: {},
  mutations: {},
  getters: {},
  actions: {
    async getMerexport(context, payload) {
      try {
        const { data } = await getMerexport(payload)
        //console.log(data)
        return data
      } catch (err) {
        console.log(err)
      }
    },
    async getcommoexport(context, payload) {
        try {
          const { data } = await getcommoexport(payload)
          //console.log(data)
          return data
        } catch (err) {
          console.log(err)
        }
      },
  }
}